@charset "utf-8";

.visualizer-player {
    display: block;
    width: 100%;
    height: 100%;
    background: #272822;
    font-family: arial, "Microsoft YaHei";
    border-radius: 3px;
}

@font-face {
    /*自定义字体-用于绘制字体图标*/
    font-family: 'iconaudio';
    src: url('../font/iconaudio.ttf?lawp0h') format('truetype'), url('../font/iconaudio.woff?lawp0h') format('woff');
    font-weight: normal;
    font-style: normal;
}

.player-audio [class^="icon-"], .player-audio [class*=" icon-"], .lv-upfiles [class^="icon-"] {
    /*统一设置字体图标*/
    /* 使用 !important 是要防止与浏览器扩展的问题，改变字体 */
    font-family: 'iconaudio' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* 更好的字体渲染 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.player-audio canvas {
    position: absolute;
}

.player-audio .visualizer-player-tips {
    position: fixed;
    top: calc(50vh - 40px);
    text-align: center;
    line-height: 30px;
    left: 0;
    right: 0;
    width: 300px;
    height: 30px;
    margin: 0 auto;
    background-color: #272822;
    border-radius: 3px;
    cursor: pointer;
    padding: 5px;
    font-size: 14px;
}

.player-audio .player-control {
    position: absolute;
    height: 32px;
    width: 30%;
    top: 40%;
    margin: 0 0.5%;
}

.player-audio i {
    margin: 0 5px;
    font-size: 32px;
    cursor: pointer;
    color: #A7A7A7;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.player-audio i:hover {
    color: #FFFFFF;
}

.player-audio .player-control #volumeBox {
    padding-top: 5px;
    display: inline-block;
    width: 35px;
}

.player-audio .player-control #volumeBox #volumeBar {
    position: absolute;
    margin: -20px 0 0 40px;
    border-radius: 4px;
    width: 100px;
    height: 5px;
    background: #5a5a5a;
    cursor: pointer;
}

.play-box {
    position: fixed;
    top: 633px;
    width: 782px;
    height: 64px;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 0;
}

.visualizer-player .player-control #volumeBox #volumeBar #volumeSize {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    border-radius: 4px;
    background: #258fb8;
}

.visualizer-player .player-control #volumeBox:hover #volumeBar {
    background: #FFFFFF;
}

.visualizer-player .song-info {
    position: absolute;
    border-bottom: 1px solid #575656;
    height: 25px;
    width: 100%;
    left: 0;
    top: 0;
}

.visualizer-player .song-info i {
    position: relative;
    height: 25px;
    width: 25px;
    top: 2px;
    font-size: 18px;
    margin: 0 5px 0 0;
    animation: musicIcon 2.5s infinite;
    -webkit-animation: musicIcon 2.5s infinite;
    /*Safari and Chrome*/
}

.visualizer-player .song-info span {
    text-align: center;
    font-weight: bold;
    margin: 0 5px;
}

.visualizer-player .song-info .player-state {
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
    line-height: 25px;
    text-align: center;
    background: #272822;
    border-radius: 4px;
}

.visualizer-player .song-info #songTitle, .visualizer-player .song-info #artist, .visualizer-player .song-info #album, .visualizer-player .song-info span {
    margin: 0 5px;
    cursor: default;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 100%;
    font-size: 14px;
    line-height: 25px;
    float: left;
}

.visualizer-player .song-info #album, .visualizer-player .song-info #artist {
    font-size: 12px;
}

.visualizer-player .player-show {
    position: absolute;
    font-size: 14px;
    left: 40%;
    height: 50px;
    width: 40%;
    top: 30%;
    cursor: default;
}

.visualizer-player .player-show .player-time {
    margin: 1% 0 0 0;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.visualizer-player .player-show .progress {
    position: absolute;
    bottom: 15px;
    border-radius: 4px;
    left: 0;
    width: 95%;
    height: 10px;
    background: #5a5a5a;
}

.visualizer-player .player-show .progress .player-progress-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 4px;
    height: 100%;
    background: #258fb8;
}

.player-audio {
    position: fixed;
    /*width: 100%;*/
    /*height: 100%;*/
    left: 445px;
    right: 445px;
    bottom: 190px;
    top: 110px;
    z-index: 0;
    font-family: arial, "Microsoft YaHei";
    color: #FEFEFE;
    background: #666;
    /* 	background-size: 100% 100%; */
    /* 	background-position: center center; */
    /* 	background-repeat: no-repeat; */
    /* 	-webkit-transition: all .3s ease-out; */
    /* 	-moz-transition: all .3s ease-out; */
    /* 	-ms-transition: all .3s ease-out; */
    /* 	-o-transition: all .3s ease-out; */
    /* 	transition: all .3s ease-out; */
}

.lv-upfiles {
    position: fixed;
    top: -1000px;
}

.upfiles-fixed, .upfiles-fixed .mask {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    text-align: center;
}

.upfiles-fixed .mask {
    position: fixed;
    background: black;
    opacity: 0.6;
    z-index: 100;
}

.upfiles-fixed .center {
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #eee;
    width: 25rem;
    height: 300px;
    margin-top: 100px;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 110;
}

.upfiles-fixed .center>input {
    display: none;
}

.upfiles-fixed .text {
    height: 250px;
    line-height: 250px;
    cursor: pointer;
}

.upfiles-cancel {
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    border-top: 1px solid #aaa;
}

.player-menus {
    position: absolute;
    height: 32px;
    width: 15%;
    top: 40%;
    margin: 0 0.5%;
    right: 0;
    text-align: right;
}

.lv-audio-dropdown {
    position: fixed;
    z-index: 998;
    background: white;
    border: 1px solid #ccc;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 300px;
    max-height: 60%;
    min-height: 120px;
    box-shadow: 1px 1px 50px rgba(0, 0, 0, .4);
    border-radius: 4px;
}

.lv-audio-dropdown::-webkit-scrollbar {
    width: 8px;
    height: auto;
}

.lv-audio-dropdown::-webkit-scrollbar-thumb {
    border-radius: 4px;
    box-shadow: none;
    background: #d6d6d6;
}

.lv-audio-dropdown::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: #f1f1f1;
}

.lv-audio-list div {
    height: 26px;
    line-height: 26px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
    color: #373737;
}

.lv-audio-list div:hover {
    background: #eee;
}

.lv-audio-list div.selected {
    color: #1E9FFF;
    background: #eee;
}

.lv-audio-list .lv-empty {
    color: #aaa;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/**-----------------**/
.lv-settings {
    font-size: 13px;
    min-height: 120px;
}

.lv-settings .title {
    font-size: 12px;
    padding: .3rem .4rem;
    color: #666;
    background: #eee;
}

.lv-settings .lv-settings-item {
    padding: .8rem .4rem;
    height: auto;
    line-height: 20px;
    color: #373737;
}

.lv-settings .lv-settings-item a {
    color: #01AAED !important;
    margin-right: .8rem;
}

.lv-settings .lv-settings-item div {
    display: inline-block;
    width: auto;
    text-align: left;
    margin-right: 10px;
}

.lv-settings .lv-settings-item input {
    vertical-align: middle;
    margin-right: 4px;
    width: 1rem;
    height: 1rem;
}
